<%-- 
    Document   : Detail
    Created on : Dec 25, 2012, 7:45:07 PM
    Author     : thilinaj
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <%!
        String author,email;
            public void jspInit() {
                author = getServletConfig().getInitParameter("auther");
                email  = getServletConfig().getInitParameter("email");
                
                System.out.println(author + email);
            }
        %>
        <h2>Author is <%= author %></h2>
        <h2>email is <%= email %></h2>
    </body>
</html>
